package com.iwop.moto.service.impl;

import com.iwop.moto.dao.MCouponSchemeDao;
import com.iwop.moto.model.MCouponScheme;
import com.iwop.moto.service.MCouponSchemeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author czq
 * @version 1.0
 * @created 2017/3/8 0008.
 */
@Service
public class MCouponSchemeServiceImpl implements MCouponSchemeService {
    @Autowired
    MCouponSchemeDao mCouponSchemeDao;
    @Override
    public List<MCouponScheme> getScheme(Map map) {

        return  mCouponSchemeDao.getSchemeByMap(map);
    }
}
